// 这种全局都会使用的类型，放在那里？？？？
export interface CommonResponseData<T> {
  code: number
  message: string
  data: T
}

export interface LoginFormData {
  phone: string
  password: string
}

export interface LoginResponseData {
  token?: string
}

export interface UserInfoData {
  id?: bigint
  name?: string
  phone?: string
  avatar?: string
  desc?: string
  roles?: string[]
  buttons?: string[]
  routes?: string[]
}
